﻿namespace WXWorkSvc.Common.Data;

public class TPrivateAgent
{
    [DatabaseGenerated(DatabaseGeneratedOption.None)]

    [Display(Name = "应用Id")]
    public int Id { get; set; }
    [StringLength(16)]
    [Display(Name = "应用名称")]
    public string Name { get; set; } = default!;
    public string Secret { get; set; } = default!;
    [Display(Name = "角色")]
    public string? Roles { get; set; } = default!;
    public string Token { get; set; } = "";
    [Display(Name = "Token有效时间")]
    public DateTime DTExpiresToken { get; set; }
    public string JsTicket { get; set; } = "";
    public string AgentJsTicket { get; set; } = "";
    [Display(Name = "Ticket有效时间")]
    public DateTime DTExpiresTicket { get; set; }
}
